'use strict';

module.exports = app => {
  const { mongoose } = app;
  const { Schema } = mongoose;
  const UserSchema = new Schema({
    name: { type: String },
    password: { type: String },
    createTime: { type: Number },
  });
  return mongoose.model('class1', UserSchema);
};
